module.exports = function (sequelize, DataTypes) {
    return sequelize.define('comment', {
        content: {
            type: DataTypes.STRING,
            allowNull: false
        },
        parentId: {
            type: DataTypes.INTEGER,
        },
        create_date: {
            type: DataTypes.STRING,
            allowNull: false
        }
    })
}